Terminal

The terminal for ATARI is called atari and can be used with options to set the screen colors. The drivers expects a space sperated list of maximal 3 digit hex numbers where each digit represents RED, GREEN and BLUE in that order. The range of 0-15 is scaled to whatever color range the screen actually has. On a normal ST screen odd and even intensities are the same.

Examples:

Additionally if a environment variable GNUCOLORS exists, the contents are interpreted as palette, but an explicit terminal option take precedence.

Though until now not tested, I expect the code to run on TT models and special screens like overscan. (The driver uses only VDI-calls.)